<template>
  <div>
    <!-- keep-alive: 避免切换的时候消耗性能 -->
    <!-- transition: 添加切换动画效果 -->
    <transition>
        <keep-alive>
            <component :is="currentTabComponent"></component>
        </keep-alive>
    </transition>
  </div>
</template>
<script setup lang='ts'>
import { ref,reactive} from 'vue'
</script>
<style scoped lang='scss'>
</style>